WP_Defender\Component\Notification A

Total Complexity 74
Dependencies 16
Dependents 1
Total lines 564
Lines of code 376
Logical lines of code 168
Comment lines 126
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
validate_email()
A
48 9 33
send_subscription_confirm_email()
A
52 9 27
get_next_run()
S
54 7 21
find_module_by_slug()
S
57 7 17
dispatch_notification()
S
62 6 11
send_email()
S
45 3 43
get_users_pool()
S
48 3 33
get_inactive_modules()
S
57 4 17
maybe_dispatch_report()
S
60 4 14
get_user_roles()
S
63 4 11
get_active_pro_reports_as_objects()
S
62 3 11
get_active_pro_reports()
S
62 3 11
send_unsubscribe_email()
S
48 1 36
get_modules_as_objects()
S
58 2 18
count_active()
S
65 3 9
get_modules()
S
62 2 12
send_subscribed_email()
S
52 1 25
create_unsubscribe_url()
S
60 1 13
__construct()
S
76 1 4
create_subscribe_url()
S
64 1 10